using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;

namespace AvaloniaApplication1.Views
{
    public class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
#if DEBUG
#endif
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
            Button button = new Button();
            
            //button.Background
        }

        private void InputElement_OnPointerPressed(object? sender, PointerPressedEventArgs e)
        {
            this.Close();
        }
    }
}
